package com.xja.mapper;

import com.xja.pojo.BlogUsers;
import com.xja.pojo.CourseInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @className: CourseMapper
 * @description: TODO 类描述
 * @author: wkx
 * @date: 2022/4/19
 **/
@Mapper
public interface CourseMapper {
    List<CourseInfo> selectCourse(CourseInfo course);

    void updateStart(Integer cid);

    void updateStop(Integer cid);

    void addCourse(CourseInfo course);

    List<BlogUsers> getCoursePerson(Integer cid);
}
